package com.atguigu.exam;

public class TestString {
    public static void main(String args[]) {
		String str;
		str = args[0];
		int j = str.length();
		System.out.println(str + " " + j);
		for (int i = j - 1; i >= 0; i--) {
			System.out.print(str.charAt(i) + " ");
		}
	}
}